package com.itheima.web.servlet;


import com.itheima.web.base.BaseServlet;

import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

@WebServlet("/productServlet")
public class ProductServlet extends BaseServlet {


    public void save(HttpServletRequest request, HttpServletResponse response) {
        System.out.println("保存商品了....");
    }

    public void findAll(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
        System.out.println("查询商品....");
    }

}


